package com.tianbo.model;

import com.tianbo.util.dao.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TEtlMessageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TEtlMessageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFidIsNull() {
            addCriterion("FID is null");
            return (Criteria) this;
        }

        public Criteria andFidIsNotNull() {
            addCriterion("FID is not null");
            return (Criteria) this;
        }

        public Criteria andFidEqualTo(BigDecimal value) {
            addCriterion("FID =", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotEqualTo(BigDecimal value) {
            addCriterion("FID <>", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThan(BigDecimal value) {
            addCriterion("FID >", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("FID >=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThan(BigDecimal value) {
            addCriterion("FID <", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThanOrEqualTo(BigDecimal value) {
            addCriterion("FID <=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidIn(List<BigDecimal> values) {
            addCriterion("FID in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotIn(List<BigDecimal> values) {
            addCriterion("FID not in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FID between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FID not between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andOperIsNull() {
            addCriterion("OPER is null");
            return (Criteria) this;
        }

        public Criteria andOperIsNotNull() {
            addCriterion("OPER is not null");
            return (Criteria) this;
        }

        public Criteria andOperEqualTo(String value) {
            addCriterion("OPER =", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperNotEqualTo(String value) {
            addCriterion("OPER <>", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperGreaterThan(String value) {
            addCriterion("OPER >", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperGreaterThanOrEqualTo(String value) {
            addCriterion("OPER >=", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperLessThan(String value) {
            addCriterion("OPER <", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperLessThanOrEqualTo(String value) {
            addCriterion("OPER <=", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperLike(String value) {
            addCriterion("OPER like", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperNotLike(String value) {
            addCriterion("OPER not like", value, "oper");
            return (Criteria) this;
        }

        public Criteria andOperIn(List<String> values) {
            addCriterion("OPER in", values, "oper");
            return (Criteria) this;
        }

        public Criteria andOperNotIn(List<String> values) {
            addCriterion("OPER not in", values, "oper");
            return (Criteria) this;
        }

        public Criteria andOperBetween(String value1, String value2) {
            addCriterion("OPER between", value1, value2, "oper");
            return (Criteria) this;
        }

        public Criteria andOperNotBetween(String value1, String value2) {
            addCriterion("OPER not between", value1, value2, "oper");
            return (Criteria) this;
        }

        public Criteria andSntmIsNull() {
            addCriterion("SNTM is null");
            return (Criteria) this;
        }

        public Criteria andSntmIsNotNull() {
            addCriterion("SNTM is not null");
            return (Criteria) this;
        }

        public Criteria andSntmEqualTo(Date value) {
            addCriterion("SNTM =", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmNotEqualTo(Date value) {
            addCriterion("SNTM <>", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmGreaterThan(Date value) {
            addCriterion("SNTM >", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmGreaterThanOrEqualTo(Date value) {
            addCriterion("SNTM >=", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmLessThan(Date value) {
            addCriterion("SNTM <", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmLessThanOrEqualTo(Date value) {
            addCriterion("SNTM <=", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmIn(List<Date> values) {
            addCriterion("SNTM in", values, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmNotIn(List<Date> values) {
            addCriterion("SNTM not in", values, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmBetween(Date value1, Date value2) {
            addCriterion("SNTM between", value1, value2, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmNotBetween(Date value1, Date value2) {
            addCriterion("SNTM not between", value1, value2, "sntm");
            return (Criteria) this;
        }

        public Criteria andSndrIsNull() {
            addCriterion("SNDR is null");
            return (Criteria) this;
        }

        public Criteria andSndrIsNotNull() {
            addCriterion("SNDR is not null");
            return (Criteria) this;
        }

        public Criteria andSndrEqualTo(String value) {
            addCriterion("SNDR =", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotEqualTo(String value) {
            addCriterion("SNDR <>", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrGreaterThan(String value) {
            addCriterion("SNDR >", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrGreaterThanOrEqualTo(String value) {
            addCriterion("SNDR >=", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrLessThan(String value) {
            addCriterion("SNDR <", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrLessThanOrEqualTo(String value) {
            addCriterion("SNDR <=", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrLike(String value) {
            addCriterion("SNDR like", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotLike(String value) {
            addCriterion("SNDR not like", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrIn(List<String> values) {
            addCriterion("SNDR in", values, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotIn(List<String> values) {
            addCriterion("SNDR not in", values, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrBetween(String value1, String value2) {
            addCriterion("SNDR between", value1, value2, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotBetween(String value1, String value2) {
            addCriterion("SNDR not between", value1, value2, "sndr");
            return (Criteria) this;
        }

        public Criteria andRcvrIsNull() {
            addCriterion("RCVR is null");
            return (Criteria) this;
        }

        public Criteria andRcvrIsNotNull() {
            addCriterion("RCVR is not null");
            return (Criteria) this;
        }

        public Criteria andRcvrEqualTo(String value) {
            addCriterion("RCVR =", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrNotEqualTo(String value) {
            addCriterion("RCVR <>", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrGreaterThan(String value) {
            addCriterion("RCVR >", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrGreaterThanOrEqualTo(String value) {
            addCriterion("RCVR >=", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrLessThan(String value) {
            addCriterion("RCVR <", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrLessThanOrEqualTo(String value) {
            addCriterion("RCVR <=", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrLike(String value) {
            addCriterion("RCVR like", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrNotLike(String value) {
            addCriterion("RCVR not like", value, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrIn(List<String> values) {
            addCriterion("RCVR in", values, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrNotIn(List<String> values) {
            addCriterion("RCVR not in", values, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrBetween(String value1, String value2) {
            addCriterion("RCVR between", value1, value2, "rcvr");
            return (Criteria) this;
        }

        public Criteria andRcvrNotBetween(String value1, String value2) {
            addCriterion("RCVR not between", value1, value2, "rcvr");
            return (Criteria) this;
        }

        public Criteria andSeqnIsNull() {
            addCriterion("SEQN is null");
            return (Criteria) this;
        }

        public Criteria andSeqnIsNotNull() {
            addCriterion("SEQN is not null");
            return (Criteria) this;
        }

        public Criteria andSeqnEqualTo(String value) {
            addCriterion("SEQN =", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotEqualTo(String value) {
            addCriterion("SEQN <>", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnGreaterThan(String value) {
            addCriterion("SEQN >", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnGreaterThanOrEqualTo(String value) {
            addCriterion("SEQN >=", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnLessThan(String value) {
            addCriterion("SEQN <", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnLessThanOrEqualTo(String value) {
            addCriterion("SEQN <=", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnLike(String value) {
            addCriterion("SEQN like", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotLike(String value) {
            addCriterion("SEQN not like", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnIn(List<String> values) {
            addCriterion("SEQN in", values, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotIn(List<String> values) {
            addCriterion("SEQN not in", values, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnBetween(String value1, String value2) {
            addCriterion("SEQN between", value1, value2, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotBetween(String value1, String value2) {
            addCriterion("SEQN not between", value1, value2, "seqn");
            return (Criteria) this;
        }

        public Criteria andDdtmIsNull() {
            addCriterion("DDTM is null");
            return (Criteria) this;
        }

        public Criteria andDdtmIsNotNull() {
            addCriterion("DDTM is not null");
            return (Criteria) this;
        }

        public Criteria andDdtmEqualTo(Date value) {
            addCriterion("DDTM =", value, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmNotEqualTo(Date value) {
            addCriterion("DDTM <>", value, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmGreaterThan(Date value) {
            addCriterion("DDTM >", value, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmGreaterThanOrEqualTo(Date value) {
            addCriterion("DDTM >=", value, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmLessThan(Date value) {
            addCriterion("DDTM <", value, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmLessThanOrEqualTo(Date value) {
            addCriterion("DDTM <=", value, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmIn(List<Date> values) {
            addCriterion("DDTM in", values, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmNotIn(List<Date> values) {
            addCriterion("DDTM not in", values, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmBetween(Date value1, Date value2) {
            addCriterion("DDTM between", value1, value2, "ddtm");
            return (Criteria) this;
        }

        public Criteria andDdtmNotBetween(Date value1, Date value2) {
            addCriterion("DDTM not between", value1, value2, "ddtm");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("TYPE =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("TYPE <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("TYPE >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TYPE >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("TYPE <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("TYPE <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("TYPE like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("TYPE not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("TYPE in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("TYPE not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("TYPE between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("TYPE not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andStypIsNull() {
            addCriterion("STYP is null");
            return (Criteria) this;
        }

        public Criteria andStypIsNotNull() {
            addCriterion("STYP is not null");
            return (Criteria) this;
        }

        public Criteria andStypEqualTo(String value) {
            addCriterion("STYP =", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotEqualTo(String value) {
            addCriterion("STYP <>", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypGreaterThan(String value) {
            addCriterion("STYP >", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypGreaterThanOrEqualTo(String value) {
            addCriterion("STYP >=", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypLessThan(String value) {
            addCriterion("STYP <", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypLessThanOrEqualTo(String value) {
            addCriterion("STYP <=", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypLike(String value) {
            addCriterion("STYP like", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotLike(String value) {
            addCriterion("STYP not like", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypIn(List<String> values) {
            addCriterion("STYP in", values, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotIn(List<String> values) {
            addCriterion("STYP not in", values, "styp");
            return (Criteria) this;
        }

        public Criteria andStypBetween(String value1, String value2) {
            addCriterion("STYP between", value1, value2, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotBetween(String value1, String value2) {
            addCriterion("STYP not between", value1, value2, "styp");
            return (Criteria) this;
        }

        public Criteria andTransidIsNull() {
            addCriterion("TRANSID is null");
            return (Criteria) this;
        }

        public Criteria andTransidIsNotNull() {
            addCriterion("TRANSID is not null");
            return (Criteria) this;
        }

        public Criteria andTransidEqualTo(String value) {
            addCriterion("TRANSID =", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidNotEqualTo(String value) {
            addCriterion("TRANSID <>", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidGreaterThan(String value) {
            addCriterion("TRANSID >", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidGreaterThanOrEqualTo(String value) {
            addCriterion("TRANSID >=", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidLessThan(String value) {
            addCriterion("TRANSID <", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidLessThanOrEqualTo(String value) {
            addCriterion("TRANSID <=", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidLike(String value) {
            addCriterion("TRANSID like", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidNotLike(String value) {
            addCriterion("TRANSID not like", value, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidIn(List<String> values) {
            addCriterion("TRANSID in", values, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidNotIn(List<String> values) {
            addCriterion("TRANSID not in", values, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidBetween(String value1, String value2) {
            addCriterion("TRANSID between", value1, value2, "transid");
            return (Criteria) this;
        }

        public Criteria andTransidNotBetween(String value1, String value2) {
            addCriterion("TRANSID not between", value1, value2, "transid");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(Object value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(Object value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(Object value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(Object value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(Object value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(Object value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<Object> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<Object> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(Object value1, Object value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(Object value1, Object value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andOuttmIsNull() {
            addCriterion("OUTTM is null");
            return (Criteria) this;
        }

        public Criteria andOuttmIsNotNull() {
            addCriterion("OUTTM is not null");
            return (Criteria) this;
        }

        public Criteria andOuttmEqualTo(Date value) {
            addCriterion("OUTTM =", value, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmNotEqualTo(Date value) {
            addCriterion("OUTTM <>", value, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmGreaterThan(Date value) {
            addCriterion("OUTTM >", value, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmGreaterThanOrEqualTo(Date value) {
            addCriterion("OUTTM >=", value, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmLessThan(Date value) {
            addCriterion("OUTTM <", value, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmLessThanOrEqualTo(Date value) {
            addCriterion("OUTTM <=", value, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmIn(List<Date> values) {
            addCriterion("OUTTM in", values, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmNotIn(List<Date> values) {
            addCriterion("OUTTM not in", values, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmBetween(Date value1, Date value2) {
            addCriterion("OUTTM between", value1, value2, "outtm");
            return (Criteria) this;
        }

        public Criteria andOuttmNotBetween(Date value1, Date value2) {
            addCriterion("OUTTM not between", value1, value2, "outtm");
            return (Criteria) this;
        }

        public Criteria andOutflagIsNull() {
            addCriterion("OUTFLAG is null");
            return (Criteria) this;
        }

        public Criteria andOutflagIsNotNull() {
            addCriterion("OUTFLAG is not null");
            return (Criteria) this;
        }

        public Criteria andOutflagEqualTo(BigDecimal value) {
            addCriterion("OUTFLAG =", value, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagNotEqualTo(BigDecimal value) {
            addCriterion("OUTFLAG <>", value, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagGreaterThan(BigDecimal value) {
            addCriterion("OUTFLAG >", value, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OUTFLAG >=", value, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagLessThan(BigDecimal value) {
            addCriterion("OUTFLAG <", value, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OUTFLAG <=", value, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagIn(List<BigDecimal> values) {
            addCriterion("OUTFLAG in", values, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagNotIn(List<BigDecimal> values) {
            addCriterion("OUTFLAG not in", values, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OUTFLAG between", value1, value2, "outflag");
            return (Criteria) this;
        }

        public Criteria andOutflagNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OUTFLAG not between", value1, value2, "outflag");
            return (Criteria) this;
        }

        public Criteria andEtltimIsNull() {
            addCriterion("ETLTIM is null");
            return (Criteria) this;
        }

        public Criteria andEtltimIsNotNull() {
            addCriterion("ETLTIM is not null");
            return (Criteria) this;
        }

        public Criteria andEtltimEqualTo(Date value) {
            addCriterion("ETLTIM =", value, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimNotEqualTo(Date value) {
            addCriterion("ETLTIM <>", value, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimGreaterThan(Date value) {
            addCriterion("ETLTIM >", value, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimGreaterThanOrEqualTo(Date value) {
            addCriterion("ETLTIM >=", value, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimLessThan(Date value) {
            addCriterion("ETLTIM <", value, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimLessThanOrEqualTo(Date value) {
            addCriterion("ETLTIM <=", value, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimIn(List<Date> values) {
            addCriterion("ETLTIM in", values, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimNotIn(List<Date> values) {
            addCriterion("ETLTIM not in", values, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimBetween(Date value1, Date value2) {
            addCriterion("ETLTIM between", value1, value2, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtltimNotBetween(Date value1, Date value2) {
            addCriterion("ETLTIM not between", value1, value2, "etltim");
            return (Criteria) this;
        }

        public Criteria andEtlflagIsNull() {
            addCriterion("ETLFLAG is null");
            return (Criteria) this;
        }

        public Criteria andEtlflagIsNotNull() {
            addCriterion("ETLFLAG is not null");
            return (Criteria) this;
        }

        public Criteria andEtlflagEqualTo(BigDecimal value) {
            addCriterion("ETLFLAG =", value, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagNotEqualTo(BigDecimal value) {
            addCriterion("ETLFLAG <>", value, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagGreaterThan(BigDecimal value) {
            addCriterion("ETLFLAG >", value, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ETLFLAG >=", value, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagLessThan(BigDecimal value) {
            addCriterion("ETLFLAG <", value, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ETLFLAG <=", value, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagIn(List<BigDecimal> values) {
            addCriterion("ETLFLAG in", values, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagNotIn(List<BigDecimal> values) {
            addCriterion("ETLFLAG not in", values, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ETLFLAG between", value1, value2, "etlflag");
            return (Criteria) this;
        }

        public Criteria andEtlflagNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ETLFLAG not between", value1, value2, "etlflag");
            return (Criteria) this;
        }

        public Criteria andErrtmIsNull() {
            addCriterion("ERRTM is null");
            return (Criteria) this;
        }

        public Criteria andErrtmIsNotNull() {
            addCriterion("ERRTM is not null");
            return (Criteria) this;
        }

        public Criteria andErrtmEqualTo(Date value) {
            addCriterion("ERRTM =", value, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmNotEqualTo(Date value) {
            addCriterion("ERRTM <>", value, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmGreaterThan(Date value) {
            addCriterion("ERRTM >", value, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmGreaterThanOrEqualTo(Date value) {
            addCriterion("ERRTM >=", value, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmLessThan(Date value) {
            addCriterion("ERRTM <", value, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmLessThanOrEqualTo(Date value) {
            addCriterion("ERRTM <=", value, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmIn(List<Date> values) {
            addCriterion("ERRTM in", values, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmNotIn(List<Date> values) {
            addCriterion("ERRTM not in", values, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmBetween(Date value1, Date value2) {
            addCriterion("ERRTM between", value1, value2, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrtmNotBetween(Date value1, Date value2) {
            addCriterion("ERRTM not between", value1, value2, "errtm");
            return (Criteria) this;
        }

        public Criteria andErrflagIsNull() {
            addCriterion("ERRFLAG is null");
            return (Criteria) this;
        }

        public Criteria andErrflagIsNotNull() {
            addCriterion("ERRFLAG is not null");
            return (Criteria) this;
        }

        public Criteria andErrflagEqualTo(BigDecimal value) {
            addCriterion("ERRFLAG =", value, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagNotEqualTo(BigDecimal value) {
            addCriterion("ERRFLAG <>", value, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagGreaterThan(BigDecimal value) {
            addCriterion("ERRFLAG >", value, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ERRFLAG >=", value, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagLessThan(BigDecimal value) {
            addCriterion("ERRFLAG <", value, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ERRFLAG <=", value, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagIn(List<BigDecimal> values) {
            addCriterion("ERRFLAG in", values, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagNotIn(List<BigDecimal> values) {
            addCriterion("ERRFLAG not in", values, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ERRFLAG between", value1, value2, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrflagNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ERRFLAG not between", value1, value2, "errflag");
            return (Criteria) this;
        }

        public Criteria andErrlogIsNull() {
            addCriterion("ERRLOG is null");
            return (Criteria) this;
        }

        public Criteria andErrlogIsNotNull() {
            addCriterion("ERRLOG is not null");
            return (Criteria) this;
        }

        public Criteria andErrlogEqualTo(Object value) {
            addCriterion("ERRLOG =", value, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogNotEqualTo(Object value) {
            addCriterion("ERRLOG <>", value, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogGreaterThan(Object value) {
            addCriterion("ERRLOG >", value, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogGreaterThanOrEqualTo(Object value) {
            addCriterion("ERRLOG >=", value, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogLessThan(Object value) {
            addCriterion("ERRLOG <", value, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogLessThanOrEqualTo(Object value) {
            addCriterion("ERRLOG <=", value, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogIn(List<Object> values) {
            addCriterion("ERRLOG in", values, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogNotIn(List<Object> values) {
            addCriterion("ERRLOG not in", values, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogBetween(Object value1, Object value2) {
            addCriterion("ERRLOG between", value1, value2, "errlog");
            return (Criteria) this;
        }

        public Criteria andErrlogNotBetween(Object value1, Object value2) {
            addCriterion("ERRLOG not between", value1, value2, "errlog");
            return (Criteria) this;
        }

        public Criteria andAppidIsNull() {
            addCriterion("APPID is null");
            return (Criteria) this;
        }

        public Criteria andAppidIsNotNull() {
            addCriterion("APPID is not null");
            return (Criteria) this;
        }

        public Criteria andAppidEqualTo(String value) {
            addCriterion("APPID =", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotEqualTo(String value) {
            addCriterion("APPID <>", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThan(String value) {
            addCriterion("APPID >", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidGreaterThanOrEqualTo(String value) {
            addCriterion("APPID >=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThan(String value) {
            addCriterion("APPID <", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLessThanOrEqualTo(String value) {
            addCriterion("APPID <=", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidLike(String value) {
            addCriterion("APPID like", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotLike(String value) {
            addCriterion("APPID not like", value, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidIn(List<String> values) {
            addCriterion("APPID in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotIn(List<String> values) {
            addCriterion("APPID not in", values, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidBetween(String value1, String value2) {
            addCriterion("APPID between", value1, value2, "appid");
            return (Criteria) this;
        }

        public Criteria andAppidNotBetween(String value1, String value2) {
            addCriterion("APPID not between", value1, value2, "appid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}